package com.jiangxjsy.crm.service.impl;

import com.jiangxjsy.crm.mapper.CrmReceivablesMapper;
import com.jiangxjsy.crm.service.CrmReceivablesService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

/**
 * wukong-crm-master
 * 蒋胜宇
 * 2025/6/18 15:54
 */

@Service
public class CrmReceivablesServiceImpl implements CrmReceivablesService {
    @Resource
    private CrmReceivablesMapper crmReceivablesMapper;

    /**
     * 查询回款数量
     *
     * @param ids 回款id
     * @return 回款数量
     */
    @Override
    public Integer countReceivablesByIdsAndCheckStatus(List<Integer> ids) {
        return crmReceivablesMapper.countReceivablesByIdsAndCheckStatus(ids);
    }
}
